make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Mon, 15 Jul 2024 19:20:54 +0000 (21:20 +0200)
committerAurelien Jarno <aurel32@debian.org>
Mon, 15 Jul 2024 19:20:54 +0000 (21:20 +0200)
commit846a215d4db880cb8ae8edad9ea1bbb43561ee59
tree5f1af0aaead1f31fda73583567e387e63540d633
parent0770f6a517cdc595460a5c0306b064520a72d8f4
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
elf/ldconfig.c